<?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');

/**
* 标签模型
*
*/

class Tagrelation_model extends MY_Model {

	// 记录本次操作中的有效标签值
	var $curtags = array();
	var $_pre;
	function __construct()
	{
		parent::__construct();
		if (!empty($this->_d['lg'])) $this->_pre = "_" . $this->_d['lg'];
		$this->tbl = 'ey_tag_relation' . $this->_pre;
		$this->tbl_key = 'id';
	}

}
?>